home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Queries / PGetStoryText.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  755b  |  30 lines

  1. /*
  2.  *--- PGetStoryText.cpp ---------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetStoryText.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetStoryText.h"
  12. #include "PQuery.h"
  13. #include "PRequestBuf.h"
  14.  
  15. PGetStoryText::PGetStoryText(short nType, short nFormat)
  16. : PStringQuery()
  17. {
  18.     char temp[4];
  19.  
  20.     PRequestBuf request(temp);
  21.  
  22.     request << nType << nFormat;
  23.     
  24.     PQuery query(pm_getstorytext, request, itsHandle);
  25.  
  26.     InitHandle();
  27. }
  28.  
  29. // end of PGetStoryText.cpp
  30.